<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <form action="" method="post" enctype="multipart/form-data">

  </form>
  <script>
    // 李明明
    var name = '李明明';
    console.log(encodeURI(name));
    console.log(decodeURI('%E6%98%8E'));
  </script>
</body>
</html>